package com.gudaomai.wuye.entity;

import java.util.List;

public class HouseOwnerInfo {
	
	// 房屋编号
	private String houseCode;
	
	private String ownerName;
	private String ownerPhone;
	private String houseArea;
	private List<String> parkCode;
	
	private int parkSize;
	public String getHouseCode() {
		return houseCode;
	}
	public void setHouseCode(String houseCode) {
		this.houseCode = houseCode;
	}
	public String getOwnerName() {
		return ownerName;
	}
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	public String getOwnerPhone() {
		return ownerPhone;
	}
	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}
	public String getHouseArea() {
		return houseArea;
	}
	public void setHouseArea(String houseArea) {
		this.houseArea = houseArea;
	}
	public List<String> getParkCode() {
		return parkCode;
	}
	public void setParkCode(List<String> parkCode) {
		this.parkCode = parkCode;
	}
	public int getParkSize() {
		
		parkSize = 0;
		
		if(!parkCode.isEmpty())
			parkSize = parkCode.size();
		
		return parkSize;
	}
	public void setParkSize(int parkSize) {
		this.parkSize = parkSize;
	}
	
}
